package DBLayer;

import java.util.ArrayList;

import ModelLayer.*;

public interface EventDBIF {
	
	 // get all Events
    public ArrayList<Event> getAllEvents(boolean retrieveAssociation);
    //get one Event having the eventID
    public Event findEvent(int eventId, boolean retrieveAssociation);
  //find one Event having the name
    public ArrayList<Event> searchEventName(String name, boolean retrieveAssociation);
    //create an event
    public int insertEvent(Event ev) throws Exception;
    //update information about an event
    public int updateEvent(Event ev);
    //delete an Event using the eventID
    public int deleteEvent(int eventID);

}
